{template('../public/header.html')}

<!--SEO设置-->
<div class="pad_10 mt10">
    <div class="col_tab">
        <ul class="tip_list clearfix ml20">
            <li>网站名称 <span class="highlight">\{site_name\}</span></li>
            <li>全局配置里面的Title <span class="highlight">\{site_title\}</span></li>
            <li>全局配置里面的Keywords <span class="highlight">\{site_keywords\}</span></li>
            <li>全局配置里面的Description <span class="highlight">\{site_description\}</span></li>
        </ul>

        <ul class="J_tabs tab_but cu_li mt10">
            <li class="current">全局配置</li>
            <li>首页</li>
            <li>列表页面</li>
            <li>商品详细页</li>
            <li>商城导航</li>
            <li>九块邮</li>
            <li>积分商城</li>
            <li>文章页面</li>
        </ul>
    
        <form id="info_form" action="{:u('seo/page')}" method="post">
        <div class="J_panes">
            <div class="content_list pad_10">
                <table width="100%" class="table_form">                    
                    <tr>
                        <th>{:L('seo_title')} :</th>
                        <td><input type="text" name="setting[site_title]" class="input-text" size="50" value="{:siteCfg('site_title')}">
						<span style="color:#777777">&nbsp;调用：\{site_title\}</span></td>
                    </tr>
                    <tr>
                        <th>{:L('seo_keys')} :</th>
                        <td><input type="text" name="setting[site_keyword]" class="input-text" size="50" value="{:siteCfg('site_keyword')}">
						<span style="color:#777777">&nbsp;调用：\{site_keywords\}</span></td>
                    </tr>
                    <tr>
                        <th>{:L('seo_desc')} :</th>
                        <td><textarea rows="3" cols="80" name="setting[site_description]">{:siteCfg('site_description')}</textarea>
						<span style="color:#777777">&nbsp;调用：\{site_description\}</span></td>
                    </tr>                    
                </table>
            </div>
            <div class="content_list pad_10">
                <table width="100%" class="table_form">                    
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[home][title]" cols="80" rows="2">{$seo_config.home.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[home][keywords]" cols="80" rows="2">{$seo_config.home.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[home][description]" cols="80" rows="3">{$seo_config.home.description}</textarea></td>
                    </tr>
                </table>
            </div>
            <div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <thead>
                    <tr>
                        <th colspan="2" align="left">商品分类</th>
                    </tr>                        
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>分类名称 <span class="highlight">\{cate_name\}</span></li>
                                <li>分类Title <span class="highlight">\{seo_title\}</span></li>
                                <li>分类Keywords<span class="highlight">\{seo_keywords\}</span></li>
                                <li>分类Description<span class="highlight">\{seo_description\}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[cate][title]" cols="80" rows="2">{$seo_config.cate.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[cate][keywords]" cols="80" rows="2">{$seo_config.cate.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[cate][description]" cols="80" rows="3">{$seo_config.cate.description}</textarea></td>
                    </tr>
                </table>
                <table width="100%" class="table_form">
                    <thead>
                    <tr>
                        <th colspan="2" align="left">商品搜索</th>
                    </tr>                        
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>搜索关键字 <span class="highlight">\{keyword\}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[search][title]" cols="80" rows="2">{$seo_config.search.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[search][keywords]" cols="80" rows="2">{$seo_config.search.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[search][description]" cols="80" rows="3">{$seo_config.search.description}</textarea></td>
                    </tr>
                </table>
            </div>
            <div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>商品标题 <span class="highlight">\{post_title\}</span></li>
                                <li>商品标签 <span class="highlight">\{post_tag\}</span></li>
                                <li>会员名称 <span class="highlight">\{user_name\}</span></li>
                                <li>商品Title <span class="highlight">\{seo_title\}</span></li>
                                <li>商品Keywords <span class="highlight">\{seo_keywords\}</span></li>
                                <li>商品Description <span class="highlight">\{seo_description\}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[post][title]" cols="80" rows="2">{$seo_config.post.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[post][keywords]" cols="80" rows="2">{$seo_config.post.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[post][description]" cols="80" rows="3">{$seo_config.post.description}</textarea></td>
                    </tr>
                </table>
            </div>
            <div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <thead>
                        <tr>
                            <th colspan="2" align="left">首页</th>
                        </tr>                        
                    </thead>
                    <tr>
                        <th style="width: 70px;">Title</th>
                        <td><textarea name="seo_config[mall][title]" cols="80" rows="2">{$seo_config.mall.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[mall][keywords]" cols="80" rows="2">{$seo_config.mall.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[mall][description]" cols="80" rows="3">{$seo_config.mall.description}</textarea></td>
                    </tr>
                </table>
                <table width="100%" class="table_form">
                    <thead>
                        <tr>
                            <th colspan="2" align="left">详细页</th>
                        </tr>                        
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>商城名称 <span class="highlight">\{mall_title\}</span></li>
                                <li>商城Title <span class="highlight">\{seo_title\}</span></li>
                                <li>商城Keywords <span class="highlight">\{seo_keywords\}</span></li>
                                <li>商城Description <span class="highlight">\{seo_description}</span></li>
                            </ul>
                        </td>
                    </tr>                    
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[mall_info][title]" cols="80" rows="2">{$seo_config.mall_info.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[mall_info][keywords]" cols="80" rows="2">{$seo_config.mall_info.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[mall_info][description]" cols="80" rows="3">{$seo_config.mall_info.description}</textarea></td>
                    </tr>
                </table>                
            </div>
            <!--九块邮-->
            <div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <thead>
                        <tr>
                            <th colspan="2" align="left">列表页</th>
                        </tr>                        
                    </thead>
                    <tr>
                        <th style="width: 70px;">Title</th>
                        <td><textarea name="seo_config[jiukuaiyou][title]" cols="80" rows="2">{$seo_config.jiukuaiyou.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[jiukuaiyou][keywords]" cols="80" rows="2">{$seo_config.jiukuaiyou.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[jiukuaiyou][description]" cols="80" rows="3">{$seo_config.jiukuaiyou.description}</textarea></td>
                    </tr>
                </table>
                <table width="100%" class="table_form">
                    <thead>
                        <tr>
                            <th colspan="2" align="left">详细页</th>
                        </tr>                        
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>商品名称 <span class="highlight">\{jky_title\}</span></li>
                                <li>商品Title <span class="highlight">\{seo_title\}</span></li>
                                <li>商品Keywords <span class="highlight">\{seo_keywords\}</span></li>
                                <li>商品Description <span class="highlight">\{seo_description\}</span></li>
                            </ul>
                        </td>
                    </tr>                    
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[jiukuaiyou_info][title]" cols="80" rows="2">{$seo_config.jiukuaiyou_info.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[jiukuaiyou_info][keywords]" cols="80" rows="2">{$seo_config.jiukuaiyou_info.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[jiukuaiyou_info][description]" cols="80" rows="3">{$seo_config.jiukuaiyou_info.description}</textarea></td>
                    </tr>
                </table>                
            </div>  
            <!--积分兑换-->
            <div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <thead>
                        <tr>
                            <th colspan="2" align="left">首页</th>
                        </tr>                        
                    </thead>
                    <tr>
                        <th style="width: 70px;">Title</th>
                        <td><textarea name="seo_config[exchange][title]" cols="80" rows="2">{$seo_config.exchange.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[exchange][keywords]" cols="80" rows="2">{$seo_config.exchange.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[exchange][description]" cols="80" rows="3">{$seo_config.exchange.description}</textarea></td>
                    </tr>
                </table>
                <table width="100%" class="table_form">
                    <thead>
                        <tr>
                            <th colspan="2" align="left">详细页</th>
                        </tr>                        
                    </thead>
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>商品名称 <span class="highlight">\{exchange_title\}</span></li>
                            </ul>
                        </td>
                    </tr>                    
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[exchange_info][title]" cols="80" rows="2">{$seo_config.exchange_info.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[exchange_info][keywords]" cols="80" rows="2">{$seo_config.exchange_info.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[exchange_info][description]" cols="80" rows="3">{$seo_config.exchange_info.description}</textarea></td>
                    </tr>
                </table>                
            </div>                      
            <div class="content_list pad_10" style="display:none;">
                <table width="100%" class="table_form">
                    <tr>
                        <td width="80"></td>
                        <td>
                            <ul class="tip_list clearfix">
                                <li>文章名称 <span class="highlight">\{article_title\}</span></li>
                                <li>文章Title <span class="highlight">\{seo_title\}</span></li>
                                <li>文章Keywords <span class="highlight">\{seo_keywords\}</span></li>
                                <li>文章Description <span class="highlight">\{seo_description\}</span></li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <th>Title</th>
                        <td><textarea name="seo_config[article][title]" cols="80" rows="2">{$seo_config.article.title}</textarea></td>
                    </tr>
                    <tr>
                        <th>Keywords</th>
                        <td><textarea name="seo_config[article][keywords]" cols="80" rows="2">{$seo_config.article.keywords}</textarea></td>
                    </tr>
                    <tr>
                        <th>Description</th>
                        <td><textarea name="seo_config[article][description]" cols="80" rows="3">{$seo_config.article.description}</textarea></td>
                    </tr>
                </table>
            </div>
        </div>
        {template('../public/_submit.html')}       
        </form>
    </div>
</div>

{template('../public/footer.html')}
<script>
$(function(){
    $('ul.J_tabs').tabs('div.J_panes > div');
});
</script>
</body>
</html>